2020-2021 Sunseeker Telemetry and Lighting System
mpu_ex3_systemPreInit.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

 MPU_initThreeSegments (MPU_BASE, &param)
 
 MPU_disablePUCOnViolation (MPU_BASE, MPU_SECOND_SEG)
 
 MPU_enableNMIevent (MPU_BASE)
 
 MPU_start (MPU_BASE)
 
void main (void)
 

Variables

MPU_initThreeSegmentsParam param = {0}
 
param seg1boundary = 0x0600
 
param seg2boundary = 0x0800
 
param seg1accmask = MPU_READ|MPU_WRITE|MPU_EXEC
 
param seg2accmask = MPU_READ
 
param seg3accmask = MPU_READ|MPU_WRITE|MPU_EXEC
 
 return
 

Function Documentation

◆ main()

void main ( void  )

Definition at line 92 of file mpu_ex3_systemPreInit.c.

◆ MPU_disablePUCOnViolation()

MPU_disablePUCOnViolation ( MPU_BASE  ,
MPU_SECOND_SEG   
)

Referenced by main().

◆ MPU_enableNMIevent()

MPU_enableNMIevent ( MPU_BASE  )

Referenced by main().

◆ MPU_initThreeSegments()

MPU_initThreeSegments ( MPU_BASE  ,
param 
)

◆ MPU_start()

MPU_start ( MPU_BASE  )

Variable Documentation

◆ param

MPU_initThreeSegmentsParam param = {0}

Definition at line 72 of file mpu_ex3_systemPreInit.c.

◆ return

return

Definition at line 89 of file mpu_ex3_systemPreInit.c.

◆ seg1accmask

param seg1accmask = MPU_READ|MPU_WRITE|MPU_EXEC

Definition at line 75 of file mpu_ex3_systemPreInit.c.

◆ seg1boundary

param seg1boundary = 0x0600

Definition at line 73 of file mpu_ex3_systemPreInit.c.

◆ seg2accmask

param seg2accmask = MPU_READ

Definition at line 76 of file mpu_ex3_systemPreInit.c.

◆ seg2boundary

param seg2boundary = 0x0800

Definition at line 74 of file mpu_ex3_systemPreInit.c.

◆ seg3accmask

param seg3accmask = MPU_READ|MPU_WRITE|MPU_EXEC

Definition at line 77 of file mpu_ex3_systemPreInit.c.